<template>
  <router-view v-if="reload"></router-view>
</template>
<script>
export default {
  provide() {
    return {
      refresh: this.refresh
    };
  },
  data() {
    return {
      reload: true
    };
  },
  methods: {
    refresh() {
      this.reload = false;
      this.$nextTick(() => {
        this.reload = true;
      });
    }
  }
};
</script>
